package com.china08.yxyapi.entity.db.questionbank;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityNoId;

/**
 * 
 * 
 * 题库: 学段信息
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_quesbank_stage", catalog = "yxy_question_bank")
public class YxyQuesbankStage extends BaseEntityNoId {

	/**
	 * 学段id,
	 */
	@Id
	@Column(length = 32, columnDefinition = "varchar(32) comment '学段：1，小学；2，初中；3，高中' ")
	private String id;

	@Column(nullable = false, columnDefinition = "varchar(32) comment '学段名称' ")
	private String name;

	/** 状态 */
	@Column(nullable = false, columnDefinition = "int default 1 comment '状态:0--未启用,1--启用' ")
	private Integer status;

	@Column(nullable = false, columnDefinition = "int default 0 comment '排序字段' ")
	private Integer orderNum;

}
